The Republican senator, who has been diagnosed with brain cancer, entered the chamber to applause to cast the deciding vote on a motion to start debating a healthcare bill.