Nigeria's military and presidency on Friday claimed to have reached a deal with Boko Haram militants on a ceasefire and the release of more than 200 kidnapped schoolgirls.