A Turkish court has freed four academics from jail on the first day of their trial for spreading “terrorist propaganda”, as prosecutors moved to scale back the charges against them.