Turkish ruling party may defy army over president