Former Florida lawmaker has been facing sexual misconduct allegations and Republicans were ready to reject his nomination