But President Andrzej Duda also asks court to evaluate bill — leaving open possibility it could be amended