fixing CHECK_RANGE_EQUAL

if the container passed to CHECK_RANGE_EQUAL is larger than the expected range, the copy writes over the boundaries of the created buffer _actual.

This fixes unit tests 27 - algorithm.copy_if and 46 - algorithm.merge on ARM plattform but should be an error on all plattforms.