discard_start_while function

Discard all values at the start of .x while .p is true