In today’s housing market, winning a bidding war can feel like a triumph. But research shows it often comes with a catch.