Obama offers mixed verdict on immigration ruling