Invariant and partially-invariant solutions of the equations describing a non-stationary and isentropic flow for an ideal and compressible fluid in (3 + 1) dimensions