Military courts: Prime Minister thanks parties for lending support to government