High court order allows Detroit charter plan to appear on Aug. 3 ballot