Before executing
parted -s /dev/sda resizepart 3 100% 3 Fix Fix 3 \n
try to run:
sgdisk -e /dev/sda
You will move your GPT header to the end of the disk
(Sorry i cannot comment cause of low reputation :) )