Iraq agrees with neighbouring states to check infiltration as violence rages