Swap arguments to replaceChild

Fix `Node#replace`.