The ALMA-PILS survey: gas dynamics in IRAS 16293-2422 and the connection between its two protostars