Poland’s parliament has passed a controversial new measures aimed at containing the spread of African swine fever.