Polish region scraps anti-LGBT motion after EU threatens to cut funds