Multiplicity in restriction and tempered $L$-packets for $p$-adic groups