Formally accepting the Nobel Peace Prize in Oslo on Thursday, President Obama robustly defended the use of military force “on humanitarian grounds” and to preserve peace.