Adaptive evolution and loss of a putative magnetoreceptor in passerines