Biden scrambles for Middle East legacy in the shadow of US polls