Relaxation of top mass limits in the two-Higgs-doublet model