their escape toward baghdad to the west was blocked by the 24th mechanized infantry division , while retreat to the north pushed them up against the euphrates river , where months of allied bombing had cut the bridges . ;