The move is the latest amid a shrinking mortgage market beset with compressed margins