People don't get made redundant, positions do. So yes, you can be made redundant whilst on ML. However, the onus is on the employer to ensure that you have been treated fairly and that the fact you are on maternity leave is not a reason for your selection, same applies for anyone on SL.