simplify immediately resolved/rejected Promises