He purposely gave Batman the opposite directions because he knew that Batman would go after Rachel. The Joker needed Rachel to die and for Harvey to blame Batman so that he could finish turning Dent. This is why Batman is blamed for Dent's killings in the end: to undo what Joker did.