Uh, both sides of the coin were heads at that time, so he knew every time that he was going to get heads and not kill the guy. Harvey Dent wouldn't kill someone like that until he becomes two-face. The flipping the coin was just to scare the shit out of the guy to get him to tell him about the Joker.