Non-LTE resonance line polarization with partial redistribution effects