Barack Obama says Mosul will be a difficult fight