All political parties agree on revival of military courts