Subsetting a vector using a boolean vector with different length

The values get recycled from the start to match the length of a.

This can be useful, but can also lead to unexpected output.