"redundant" effectively means "dismissed because your old job no longer exists" rather than "dismissed because you're no good at your old job".