Poland may redirect EU funds towards defence, minister says