The facebook chat plugin seems to match up your contacts to facebook by use of the Nickname field. If you merge two contacts, keep the nickname that was created by the facebook chat plugin, and this will then work okay.