Militants seized two strategic areas of Diyala province northeast of Baghdad, late on Thursday after security forces withdrew, officers said, bringing a militant offensive closer to the provincial capital Baquba.