Job cuts come as JLR faces falling sales and intense Chinese competition while trying to switch to electric vehicles.