Turkey MPs pass bill on top spy agency