South Wales Police's involvement in a death on the M4 motorway is being investigated by the Independent Office for Police Conduct (IOPC).