Fix potential coefficient shape mismatch in WaveletPacket
Fix potential coefficient shape mismatch in WaveletPacket

inverse transforms may produce excess coefficients for some sizes and boundary
modes. these need to be trimmed at the Node level as implemented here.
This commit fixes PyWavelets/pywt#447

rgommers/pywt,PyWavelets/pywt,grlee77/pywt,rgommers/pywt,PyWavelets/pywt,rgommers/pywt,rgommers/pywt,grlee77/pywt