Many homebuyers face surprise repair costs soon after moving in