Former president Obama also spoke publicly for the first time since the House voted to repeal his signature health care legislation.