Turkish Prime Minister Recep Tayyip Erdogan replaced nearly half his cabinet in a dramatic reshuffle late Wednesday after a spreading graft scandal forced the resignation of three top ministers and threatened the premier’s own hold on power. Erdogan…