Mortgage refinancing could save you thousands by lowering your monthly payment or shortening the time it takes to pay off your home.