Necessary and sufficient conditions for the noninvertibility of fundamental solution matrices of a discontinuous system