The Senate on Wednesday cleared the way to provide $10 billion to states and local school districts to prevent teacher layoffs and an additional $16 billion in federal aid to cash-strapped states, and the Speaker, Nancy Pelosi, said she would summon House back from its summer recess to grant final approval to the bill.