US president’s optimism comes despite work requirements for federal food aid recipients emerging as point of contention; Yellen warns of catastrophic consequences of failure to act