The president blames Islamic State militants for the deaths of two American soldiers while praising the US-backed government.