Turkish prosecutors are investigating people who have alleged on social media that a July 15 coup attempt was a hoax carried out by the government, the country’s justice minister said, reflecting what some critics say are increasing restrictions on expression in the wake of the failed rebellion by some military forces.