President Obama said he regrets that the rancor between the parties has grown during his watch. “I guarantee I’ll keep trying to be better so long as I hold this office,” he said.