Chief Justice John Roberts surprised court watchers by voting to uphold the health care law.