Palestinian president accepts PM's resignation