Thai authorities, monks reach deal on ‘Tiger temple’