Hamas and Israel reportedly ironed out a final stumbling block in negotiations on Thursday, relating to Palestinian prisoners