Removes an element in place and returns the shortened range using std.algorithm's countUntil and remove functions
See Implementation
Removes an element in place and returns the shortened range using std.algorithm's countUntil and remove functions