Abrupt Learning in Transformers: A Case Study on Matrix Completion