Israeli military court orders release of Hamas ministers, lawmakers